package com.design.designmode.action.command;

/**
 * @author hxl
 * @since 2023-04-17
 */
public class OnCommand implements Command {
    private Tv tv;
    public OnCommand(Tv tv) {
        this.tv = tv;
    }

    @Override
    public void execute() {
        this.tv.OnAction();
    }
}
